package com.dkm.ec.address.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:user_address Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-08-18 14:33:11
 */
 @ITable(name="userAddress",code="user_address")
public class UserAddressTbl extends AbstractPo<String>{
	 protected String id;
	@IField(name="zmzId",column="id")
	protected Long  zmzId; 		/*id*/
	@IField(name="userId",column="user_id")
	protected Long  userId; 		/*用户id*/
	@IField(name="name",column="name")
	protected String  name; 		/*收货人*/
	@IField(name="contactInformation",column="contact_information")
	protected String  contactInformation; 		/*联系方式，手机号或固话*/
	@IField(name="province",column="province")
	protected String  province; 		/*省*/
	@IField(name="city",column="city")
	protected String  city; 		/*市*/
	@IField(name="county",column="county")
	protected String  county; 		/*县*/
	@IField(name="deleted",column="deleted")
	protected Short  deleted; 		/*是否删除，1：已删除，0：未删除*/
	@IField(name="defaultFlag",column="default_flag")
	protected Short  defaultFlag; 		/*是否默认，1：默认，0：非默认*/
	@IField(name="detailAddress",column="detail_address")
	protected String  detailAddress; 		/*详细地址*/
	@IField(name="createTime",column="create_time")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateTime",column="update_time")
	protected java.util.Date  updateTime; 		/*update_time*/
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getZmzId() {
		return zmzId;
	}
	public void setZmzId(Long zmzId) {
		this.zmzId = zmzId;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}
	/**
	 * 返回 用户id
	 * @return
	 */
	public Long getUserId() 
	{
		return this.userId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 收货人
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setContactInformation(String contactInformation) 
	{
		this.contactInformation = contactInformation;
	}
	/**
	 * 返回 联系方式，手机号或固话
	 * @return
	 */
	public String getContactInformation() 
	{
		return this.contactInformation;
	}
	public void setProvince(String province) 
	{
		this.province = province;
	}
	/**
	 * 返回 省
	 * @return
	 */
	public String getProvince() 
	{
		return this.province;
	}
	public void setCity(String city) 
	{
		this.city = city;
	}
	/**
	 * 返回 市
	 * @return
	 */
	public String getCity() 
	{
		return this.city;
	}
	public void setCounty(String county) 
	{
		this.county = county;
	}
	/**
	 * 返回 县
	 * @return
	 */
	public String getCounty() 
	{
		return this.county;
	}
	public void setDeleted(Short deleted) 
	{
		this.deleted = deleted;
	}
	/**
	 * 返回 是否删除，1：已删除，0：未删除
	 * @return
	 */
	public Short getDeleted() 
	{
		return this.deleted;
	}
	public void setDefaultFlag(Short defaultFlag) 
	{
		this.defaultFlag = defaultFlag;
	}
	/**
	 * 返回 是否默认，1：默认，0：非默认
	 * @return
	 */
	public Short getDefaultFlag() 
	{
		return this.defaultFlag;
	}
	public void setDetailAddress(String detailAddress) 
	{
		this.detailAddress = detailAddress;
	}
	/**
	 * 返回 详细地址
	 * @return
	 */
	public String getDetailAddress() 
	{
		return this.detailAddress;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 update_time
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("userId", this.userId) 
		.append("name", this.name) 
		.append("contactInformation", this.contactInformation) 
		.append("province", this.province) 
		.append("city", this.city) 
		.append("county", this.county) 
		.append("deleted", this.deleted) 
		.append("defaultFlag", this.defaultFlag) 
		.append("detailAddress", this.detailAddress) 
		.append("createTime", this.createTime) 
		.append("updateTime", this.updateTime) 
		.toString();
	}
}